package com.chen.mapper;

import com.chen.pojo.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DepartmentMapper {

    //查询所有的部门
    List<Department> allDept();

}
